package com.eas.biz.dao.statistic.dataobject;

import java.util.LinkedList;
import java.util.List;

import com.eas.biz.framework.BaseQuery;
import com.eas.biz.service.statistic.query.StatisticServiceQuery;

public class ClassStatisticQuery extends BaseQuery {

    private Long classId;

    private Long schoolId;

    private Long examId;

    private String subject;

    private String level;

    private List<Long> classIdList;

    public ClassStatisticQuery(StatisticServiceQuery query) {
        if (query != null) {
            setSortBy(query.getSortField());
            setSort(query.getSortOrder());
        }
        classIdList = new LinkedList<Long>();
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getExamId() {
        return examId;
    }

    public void setExamId(Long examId) {
        this.examId = examId;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public List<Long> getClassIdList() {
        return classIdList;
    }

    public void setClassIdList(List<Long> classIdList) {
        this.classIdList = classIdList;
    }
}
